package cn.ekuma.epos.android.adapter;

import java.util.List;

import android.content.Context;

import cn.ekuma.data.ui.android.AbstractViewBeanListAdapter;

import com.openbravo.bean.Product;


public class ProductListAdapter extends AbstractViewBeanListAdapter<Product> {

	public ProductListAdapter(Context context) {
		super(context);
	}

	public ProductListAdapter(Context context,
			List<Product> listObjs) {
		super(context,listObjs);
	}

	@Override
	public String cracteBaseBeanToShowText(Product obj) {
		return obj.getName()+"\n"+obj.getPriceSell();
	}

}
